from django.db import models

class Case(models.Model):
    name = models.CharField(primary_key=True, max_length=255)
    othername = models.CharField(max_length=255, blank=True, null=True)
    introduction = models.TextField(blank=True, null=True)
    symptom = models.TextField(blank=True, null=True)
    field_insurance = models.CharField(db_column=' insurance', max_length=20, blank=True, null=True)  # Field renamed to remove unsuitable characters. Field renamed because it started with '_'.
    department = models.CharField(max_length=255, blank=True, null=True)
    infection = models.CharField(max_length=20, blank=True, null=True)
    position = models.CharField(max_length=255, blank=True, null=True)
    period = models.CharField(max_length=255, blank=True, null=True)
    crowd = models.CharField(max_length=255, blank=True, null=True)
    drug = models.TextField(blank=True, null=True)
    method = models.TextField(blank=True, null=True)

    class Meta:
        managed = False
        db_table = 'case'
